package com.yx.changdao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yx.changdao.common.entity.CommunityBuild;
import com.yx.changdao.common.entity.DepContactGroup;
import com.yx.changdao.common.entity.SysUser;
import com.yx.changdao.common.exception.AlertException;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;


/**
 * @Description: <br/>
 * 部门联户人小组
 * <p>
 * <br/>
 * @Auther: zcz
 * @create 2020/04/30 11:26
 */
public interface DepContactGroupService extends IService<DepContactGroup> {
    //关联帐号
    void contactLinkAccount(String contactGroupId, List<SysUser> addUserList) throws AlertException;
    //取消关联帐号
    void noContactLinkAccount(String contactGroupId, List<SysUser> addUserList) throws AlertException;
    //关联楼栋
    void contactLinkBuild( String contactGroupId,List<CommunityBuild> buildList) throws AlertException;
    //取消关联楼栋
    void noContactLinkBuild( String contactGroupId,List<CommunityBuild> buildList) throws AlertException;
}
